import request from '@/utils/request'

// 查询实时状态管控列表
export function listRealTimeStatusControl(query) {
  return request({
    url: '/ys/realTimeStatusControl/list',
    method: 'get',
    params: query
  })
}

// 查询实时状态管控详细
export function getRealTimeStatusControl(id) {
  return request({
    url: '/ys/realTimeStatusControl/' + id,
    method: 'get'
  })
}

// 新增实时状态管控
export function addRealTimeStatusControl(data) {
  return request({
    url: '/ys/realTimeStatusControl',
    method: 'post',
    data: data
  })
}

// 修改实时状态管控
export function updateRealTimeStatusControl(data) {
  return request({
    url: '/ys/realTimeStatusControl',
    method: 'put',
    data: data
  })
}

// 删除实时状态管控
export function delRealTimeStatusControl(id) {
  return request({
    url: '/ys/realTimeStatusControl/' + id,
    method: 'delete'
  })
}
